﻿using System.ComponentModel;


using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;

using OSharp.Core.Packs;
using wyxuan.yoyu.Core.IM.Games.Gobang;

namespace wyxuan.yoyu.Core.IM
{
    public class IMPack : OsharpPack
    {
        /// <summary>将模块服务添加到依赖注入服务容器中</summary>
        /// <param name="services">依赖注入服务容器</param>
        /// <returns></returns>
        public override IServiceCollection AddServices(IServiceCollection services)
        {
            
            services.AddSingleton<IGobangService, GobangService>();
            return services;
        }
    }
}
